package com.dilidili.utils;

public class Random {
    public static String getCode(){
        int n = 6;
        StringBuilder code = new StringBuilder();
        java.util.Random ran = new java.util.Random();
        for (int i = 0; i < n; i++) {
            code.append(Integer.valueOf(ran.nextInt(10)).toString());
        }
        return code.toString();
    }
}
